<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>
        // 布尔值是在编程中判断对错的   
        // true / false

        var a = true;
        var b = false;
        console.log(typeof a);

        // var a = 'true' ;  // 这不是布尔值，而是字符串
        
    </script>

</body>

</html>